<?php if(!defined('SABLOG_ROOT')) exit('Access Denied');?>
{template header}

	<div id="page">
		<div id="wrap">
			<h3 class="title">Tags</h3>
			<!--{if $stats['tag_count']}-->
				<div class="tags">
				<!--{loop $tagdb $tag}-->
					<span style="line-height:160%;font-size:$tag[fontsize]px;margin-right:10px;"><a href="$tag[url]" title="使用次数: $tag[usenum]">$tag[item]</a></span>
				<!--{/loop}-->
				</div>
				$multipage
			<!--{else}-->
				<p>没有任何标签</p>
			<!--{/if}-->
		</div>
		<div id="sidebar">

			<!--{if $options['show_calendar']}-->
				<div id="showcalendar">
					<table cellpadding="0" cellspacing="1" style="width:100%">
						<tr align="center">
							<td colspan="7" class="curdate"><a href="$prevmonth">&laquo;</a> $calendar[cur_date] <a href="$nextmonth">&raquo;</a></td>
						</tr>
						<tr>
							<th class="week"><span style="color:#833">日</span></th>
							<th class="week">一</th>
							<th class="week">二</th>
							<th class="week">三</th>
							<th class="week">四</th>
							<th class="week">五</th>
							<th class="week"><font color="#53A300">六</font></th>
						</tr>
						$calendar[html]
					</table>
				</div>
			<!--{/if}-->

			{template sidecomm}

			<!--{if $options['archives_num']}-->
			<h4>Archives</h4>
			<ul>
				<!--{if !$archivecache}-->
					<li>没有任何归档</li>
				<!--{else}-->
					<!--{loop $archivecache $key $data}-->
					<li><a href="$data[url]">$key</a> <span>($data[num])</span></li>
					<!--{/loop}-->
				<!--{/if}-->
			</ul>
			<!--{/if}-->
		</div>
	</div>